-
-
Notifications
You must be signed in to change notification settings - Fork 46.6k
Dp subset tests Closes #9943 #10471
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dp subset tests Closes #9943 #10471
Conversation
Merge branch 'master' of https://github.com/TheAlgorithms/Python into dp_subset_tests
@cclauss @tianyizheng02 having trouble adding type annotations, there is an issue with ruff and mypy expectecing different annotations |
Added docstring tests, add hacktoberfest tag when possible |
CC. @dhruvmanila |
for j in range(r): | ||
print(data[j], end=" ") | ||
print(" ") | ||
print(" ".join(map(str, data[:r]))) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CONTRIBUTING.md says that algorithmic functions should not print()
instead they should return values or yield values or raise exceptions.
updated the print @cclauss |
algorithmic functions should not print() |
Even in the main? |
|
Yeah I removed the print from algorithmic function |
@cclauss can this be merged with Hacktoberfest commit, or any changes you still reocmmend |
This branch has conflicts that must be resolvedSee below. |
Closing in favor of: |
Describe your change:
Checklist: